from django.urls import path
from questions_app.views import OneSectionQuestionView,QuestionView,AddQuestionView,AddAnswerView,OneQuestionView

urlpatterns = [
    path('questions/',QuestionView.as_view()),
    path('add_que/',AddQuestionView.as_view()),
    path('add_ans/',AddAnswerView.as_view()),
    path('que_one/<int:pk>/',OneQuestionView.as_view()),
    path('one_sec_que/',OneSectionQuestionView.as_view()),
]